<?php

namespace app\api\model\wanlshop;

use think\Model;
use traits\model\SoftDelete;

class InvestApplyFor extends Model
{

//    use SoftDelete;
    // 表名
    protected $name = 'invest_apply_for';


    // 定义时间戳字段名
    protected $createTime = 'createtime';
    protected $updateTime = 'updatetime';

    public function incomes(){
        return $this->hasMany(AccIncome::class,'apply_id');
    }
    public function good(){
        return $this->belongsTo(Goods::class,'goods_id');
    }
}
